package com.tesis_2.BL;

import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.util.ArrayList;

import com.tesis_2.DA.DAOReservas;
import com.tesis_2.MO.MOReserva;

public class BLReservas {
	
	public static MOReserva generateReserva(MOReserva reserva, String lsPlatosSelected) throws ParseException, UnsupportedEncodingException
	{
		return DAOReservas.generateReserva(reserva, lsPlatosSelected);
	}
	
	public static ArrayList<MOReserva> getReservasByUserId(Integer userId) throws UnsupportedEncodingException, ParseException{
		return DAOReservas.getReservasByUserId(userId);
	}

}
